import{ut as e}from"./B603vO-13smUKN.js";import{D as t,E as n,On as r,_ as i,ct as a,k as o,mt as s,qt as c,tr as l,v as u}from"./CIxmKYxc4tZcJF.js";import"./DcwiUW8R1GKRvl.js";import{t as d}from"./DhtdLMWurC5tl.js";import{a as f,o as p}from"./BbxvatETxeTHf.js";import{c as m,s as h}from"./qOf9hsdh3aD96J.js";import"./C3Xax3Tz4BagVD.js";import{t as g}from"./DlpkIUzkqr8f6.js";import{t as _}from"./B7K2vhSg3J9hjy.js";var v=e(`integrations:receipts1`);async function y(e,t){v.warn(`importFromJson: disabled during migration`)}var b={class:`_center`},x=[`max`,`value`],S=o({__name:`app-page-import1`,setup(e){return a(async()=>{p.import?.url?y(p.import?.url.replace(`file:///`,`r2import:///`),p.import?.title??f(`unnamed`)):p.import=void 0}),(e,a)=>(s(),u(_,null,{default:c(()=>[i(`div`,b,[i(`h1`,null,l(e.$t(`import1.title`)),1),i(`p`,null,[i(`b`,null,`"`+l(r(p).import?.title??e.$t(`unnamed`))+`"`,1)]),i(`p`,null,l(e.$t(`import1.description`)),1),i(`p`,null,[i(`progress`,{max:r(h),value:r(m)},null,8,x)]),i(`p`,null,[t(r(d),{disabled:r(p).import!=null,onClick:a[0]||=e=>r(g).workspacePage()},{default:c(()=>[n(l(e.$t(`import1.buttonCreate`)),1)]),_:1},8,[`disabled`])])])]),_:1}))}});export{S as default};